package com.dt.dubai.mech.service;

import com.dt.dubai.mech.entity.MechActivityCommodityEntity;
import com.dt.dubai.mech.service.innate.MechActivityCommoditySerInnateAbsImp;
import com.dt.dubai.mech.service.ser.MechActivityCommodityService;
import org.springframework.stereotype.Service;

@Service
public class MechActivityCommodityServiceImp extends MechActivityCommoditySerInnateAbsImp implements MechActivityCommodityService {

    /*innateServiceStart*/
    @Override
    protected void userSavEntity(MechActivityCommodityEntity inEntity) {

    }

    @Override
    protected void userModEntity(MechActivityCommodityEntity inEntity, MechActivityCommodityEntity upEntity) {
        upEntity.setMarketingActivityRecordId(inEntity.getMarketingActivityRecordId()); // 商户活动记录id
        upEntity.setCommodityRecordId(inEntity.getCommodityRecordId()); // 商户商品记录id
        upEntity.setOrderNumber(inEntity.getOrderNumber()); // 活动商品序号

    }
    /*innateServiceEnd*/
    /*以上内容请误删除或是移动，系统升级使用，static系统升级覆盖用户修改，用户代码请写入下方*/
}
